package licode.unisop.auth.adapter.web;

import licode.unisop.unilite.result.UniReturnResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 定义统一认证平台中心认证相关接口
 *
 * @author licode
 */
@Slf4j
@UniReturnResult
@RestController
@RequestMapping("/uni-auth/v1/token/log")
public class AuthorLogController {
    @Resource
    private HttpServletRequest request;

    @RequestMapping(value = "/call/add", method = RequestMethod.POST)
    public void addCallLog(@RequestBody Map<String, Object> log) {
    }
}
